package com.cn.wanxi.model;

import java.util.Date;
/**
 * 后台数据对象  和表字段一一对应
 */
public class NewsModel {
    private Integer id;
    private String title;
    private String introduction;
    private String content;
    private String create_time;
    private Integer is_recommend;
    private String img;
    private Integer news_plate_id;

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    private String update_time;
    private boolean isTuijian;
    private boolean isTop;
    private boolean isShenhe;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIs_recommend() {
        return is_recommend;
    }

    public void setIs_recommend(Integer is_recommend) {
        this.is_recommend = is_recommend;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getNews_plate_id() {
        return news_plate_id;
    }

    public void setNews_plate_id(Integer news_plate_id) {
        this.news_plate_id = news_plate_id;
    }


    public boolean isTuijian() {
        return isTuijian;
    }

    public void setTuijian(boolean tuijian) {
        isTuijian = tuijian;
    }

    public boolean isTop() {
        return isTop;
    }

    public void setTop(boolean top) {
        isTop = top;
    }

    public boolean isShenhe() {
        return isShenhe;
    }

    public void setShenhe(boolean shenhe) {
        isShenhe = shenhe;
    }
}
